
<!--选择支付方式界面-->

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>收银台</title>
<link rel="short icon" href="images/tc.png" />
<link rel="stylesheet" type="text/css" href="css/Checkstand.css">
<script src="js/jquery-1.11.3.min.js"></script>
<script src="js/Checkstand.js"></script>
<script type="text/javascript" src="js/model.js"></script>

<script>
   $(function(){
		 $.post("jdInfoServlet?t=ss"+new Date(),{op:"JdPayInfomationss"},function(data){
	    		var str1="";  //景点
	    		var str2="";  //价格
	    		
	    		str1='&nbsp;【<a href="" target="_blank" class="check_information_li1_a">'+data.rows[0]+'</a>】';
	    		str2='<p>应付金额：<span class="check_information_li4_span">'+data.rows[1]+'</span>&nbsp;元</p>';
	    		
	    		$(".check_information_li1").html(str1);
	    		$(".check_information_li4").html(str2);
	    	},"json"); 
	    	getUserLoginInfos();  
	});
	
	//点击支付
	function OrderInfo(){
		$.post("jdInfoServlet?t="+new Date(),{op:'OrderInfo'},function(data){
				$.each(data.rows,function(index,items){
					if(items){
						alert("支付成功...");
						window.location.href="user.html";
					}else{
						alert("支付失败，请重试...");
					}
				});
		},"json");
	}
  

</script>

</head>

<body>
	<div id="check_mydiv">
    	 <!--头部框开始-->
        <div id="check_head">
            <div class="check_head_left">
                <img src="images/com_logo_01.png"/>
            </div>
            <div class="check_head_right">
                <ul id="userInfoShow">
                    
                </ul>
            </div>
        </div> 
        <!--头部框结束-->
        
        <!--订单信息部分开始-->
        <div class="check_information">
        	<ul>
            	<li class="check_information_li1">
            	
                </li>
                <br/>
                <li class="check_information_li3">
                	<p>建议您在<span class="check_information_li3_span">24小时</span>内完成付款，过期订单会自动取消哦..</p>
                </li>
                <li class="check_information_li4">
                	
                </li>
            </ul>
        </div>
        <!--订单信息部分结束-->
        
        <!--支付方式部分开始-->
        <div class="check_pay_style">
        	<div class="check_pay_style_top">
            	<ul>
                	<li class="check_pay_style_top_li1">支付宝</li>
                    <li class="check_pay_style_top_li2">微信</li>
                </ul>
            </div>
            
            <div class="check_pay_style_bottom">
            	<img src="images/zhifu_alipay_211017.png" class="check_pay_style_bottom_pic"/>
                <p class="check_pay_style_bottom_p">推荐拥有支付宝账号的用户使用</p>
                <input type="button" value="确认支付" 	class="check_pay_style_bottom_button" onclick="OrderInfo()">
            </div>
        </div>	
        <!--支付方式部分结束-->
        
         <!--尾部开始-->
    	<div id="check_foot">
      		  <p>Copyright © 2002-2015 版权所有 源辰C16</p>
   		 </div> 
    	 <!--尾部结束-->
     
    </div>
</body>
</html>
